package com.itheima.homework1.demo3;

public class Dog extends Animal{
    public Dog(String name, double weight) {
        super(name, weight);
    }

    @Override
    public void eat() {
        System.out.println(getName()+"吃骨头");
    }
    public void lookHome(){
        System.out.println(getName()+"老老实实看家");
    }
}
